package com.mes.pojo.device;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
import java.util.List;

/**
 * @Author 张喆
 * @Company
 * @Description
 * @Time 2024/10/19 10:02
 */

public class Upkeep {
    private String upkeepId;
    private String upkeepName;
    private Integer upkeepType;
    private Integer upkeepRate;
    private Integer upkeepRateUnit;
    private Integer upkeepStatus;
    private String upkeepNotes;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date upkeepStartTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date upkeepEndTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date upkeepCreateTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date upkeepModifyTime;
    private List<Device> deviceList;
    private List<UpkeepType> upkeepTypeList;

    public String getUpkeepId() {
        return upkeepId;
    }

    public void setUpkeepId(String upkeepId) {
        this.upkeepId = upkeepId;
    }

    public String getUpkeepName() {
        return upkeepName;
    }

    public void setUpkeepName(String upkeepName) {
        this.upkeepName = upkeepName;
    }

    public Integer getUpkeepType() {
        return upkeepType;
    }

    public void setUpkeepType(Integer upkeepType) {
        this.upkeepType = upkeepType;
    }

    public Integer getUpkeepRate() {
        return upkeepRate;
    }

    public void setUpkeepRate(Integer upkeepRate) {
        this.upkeepRate = upkeepRate;
    }

    public Integer getUpkeepRateUnit() {
        return upkeepRateUnit;
    }

    public void setUpkeepRateUnit(Integer upkeepRateUnit) {
        this.upkeepRateUnit = upkeepRateUnit;
    }

    public Integer getUpkeepStatus() {
        return upkeepStatus;
    }

    public void setUpkeepStatus(Integer upkeepStatus) {
        this.upkeepStatus = upkeepStatus;
    }

    public String getUpkeepNotes() {
        return upkeepNotes;
    }

    public void setUpkeepNotes(String upkeepNotes) {
        this.upkeepNotes = upkeepNotes;
    }

    public Date getUpkeepStartTime() {
        return upkeepStartTime;
    }

    public void setUpkeepStartTime(Date upkeepStartTime) {
        this.upkeepStartTime = upkeepStartTime;
    }

    public Date getUpkeepEndTime() {
        return upkeepEndTime;
    }

    public void setUpkeepEndTime(Date upkeepEndTime) {
        this.upkeepEndTime = upkeepEndTime;
    }

    public Date getUpkeepCreateTime() {
        return upkeepCreateTime;
    }

    public void setUpkeepCreateTime(Date upkeepCreateTime) {
        this.upkeepCreateTime = upkeepCreateTime;
    }

    public Date getUpkeepModifyTime() {
        return upkeepModifyTime;
    }

    public void setUpkeepModifyTime(Date upkeepModifyTime) {
        this.upkeepModifyTime = upkeepModifyTime;
    }

    public List<Device> getDeviceList() {
        return deviceList;
    }

    public void setDeviceList(List<Device> deviceList) {
        this.deviceList = deviceList;
    }

    public List<UpkeepType> getUpkeepTypeList() {
        return upkeepTypeList;
    }

    public void setUpkeepTypeList(List<UpkeepType> upkeepTypeList) {
        this.upkeepTypeList = upkeepTypeList;
    }
}
